package datatypes.film;

// this is not part of the database definition
public class FilmBudget {

	private String budget;
	private String valid_date;
	private String source;
	private String currency;

	public FilmBudget() {

	}

	public FilmBudget(String budget,String currency ,String valid_date, String source) {
		this.budget = budget;
		this.valid_date = valid_date;
		this.source = source;
		this.currency = currency;
	}

	public String getBudget() {
		return budget;
	}

	public void setBudget(String budget) {
		this.budget = budget;
	}

	public String getValid_date() {
		return valid_date;
	}

	public void setValid_date(String valid_date) {
		this.valid_date = valid_date;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public void init(FilmBudget film_budget) {
		this.budget = film_budget.getBudget();
		this.valid_date = film_budget.getValid_date();
		this.source = film_budget.getSource();
		this.currency = film_budget.getCurrency();
	}

	public String getCurrency() {
		return currency;
	}

	public void setCurrency(String currency) {
		this.currency = currency;
	}

	public String getBudgetValue() {
	    return this.budget + " " + this.currency;
	}

}
